import request from "@/utils/request"

// 图标上传接口
export function uploadPic(data) {
  return request({
    url: "/system/upload/uploadPic",
    method: "post",
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    data: data
  })
}

// 图标查询
export function iconList(data) {
  return request({
    url: "/system/upload/list",
    method: "post",
    data: data,
  })
}

// 图标删除
export function iconDelete(data) {
  return request({
    url: "/system/upload/deletePic/"+ data,
    method: "get",
  })
}
